package com.jumi.microservice.dto.order;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author Dirk
 * @Date 2020-09-10 09:22
 */
public class OrderMessage implements Serializable {
    private static final long serialVersionUID = 2954790412470553522L;

    private Integer id;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 买家ID
     */
    private Long buyerId;

    /**
     * 买家角色
     */
    private Byte buyerRole;

    /**
     * 订单团购价
     */
    private BigDecimal orderPromotionAmount;

    /**
     * 订单会员价
     */
    private BigDecimal orderAmount;

    /**
     * 订单状态
     */
    private Byte orderStatus;

    /**
     * 订单类型
     */
    private Byte orderType;

    /**
     * 运费
     */
    private BigDecimal freightFee;

    /**
     * 支付金额
     */
    private BigDecimal payAmount;

    /**
     * 邀请人ID
     */
    private Long inviteId;

    /**
     * 商品详情
     */
    List<OrderGoodsMessage> orderGoodsList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public Byte getBuyerRole() {
        return buyerRole;
    }

    public void setBuyerRole(Byte buyerRole) {
        this.buyerRole = buyerRole;
    }

    public BigDecimal getOrderPromotionAmount() {
        return orderPromotionAmount;
    }

    public void setOrderPromotionAmount(BigDecimal orderPromotionAmount) {
        this.orderPromotionAmount = orderPromotionAmount;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Byte getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Byte getOrderType() {
        return orderType;
    }

    public void setOrderType(Byte orderType) {
        this.orderType = orderType;
    }

    public BigDecimal getFreightFee() {
        return freightFee;
    }

    public void setFreightFee(BigDecimal freightFee) {
        this.freightFee = freightFee;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Long getInviteId() {
        return inviteId;
    }

    public void setInviteId(Long inviteId) {
        this.inviteId = inviteId;
    }

    public List<OrderGoodsMessage> getOrderGoodsList() {
        return orderGoodsList;
    }

    public void setOrderGoodsList(List<OrderGoodsMessage> orderGoodsList) {
        this.orderGoodsList = orderGoodsList;
    }
}
